package com.xuliugen.ssm.demo.mapper;

import com.xuliugen.ssm.demo.common.BaseMapperAsInteger;
import com.xuliugen.ssm.demo.dto.SecurityUserDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @author xuliugen
 */
@Component
public interface SecurityUserMapper extends BaseMapperAsInteger<SecurityUserDTO> {

    /**
     * @param userName
     * @return
     */
    int selectCountByUserName(@Param("userName") String userName);

}